package com.ruoyi.vip.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 会员充值对象 vip_recharge
 *
 * @author ruoyi
 * @date 2021-04-20
 */
public class VipRecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 充值id */
    private Long rechargeId;

    /** 会员id */
    @Excel(name = "会员id")
    private Long vipId;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private Long rechargeAmount;

//    /** 创建时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
//    private Date creatTime;

    public void setRechargeId(Long rechargeId)
    {
        this.rechargeId = rechargeId;
    }

    public Long getRechargeId()
    {
        return rechargeId;
    }

    public void setVipId(Long vipId)
    {
        this.vipId = vipId;
    }

    public Long getVipId()
    {
        return vipId;
    }

    public void setRechargeAmount(Long rechargeAmount)
    {
        this.rechargeAmount = rechargeAmount;
    }

    public Long getRechargeAmount()
    {
        return rechargeAmount;
    }
//    public void setCreatTime(Date creatTime)
//    {
//        this.creatTime = creatTime;
//    }
//
//    public Date getCreatTime()
//    {
//        return creatTime;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rechargeId", getRechargeId())
            .append("vipId", getVipId())
            .append("rechargeAmount", getRechargeAmount())
            .append("createTime", getCreateTime())
            .toString();
    }
}
